package com.laowang.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import com.sun.jna.platform.win32.Winspool;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商家入驻的图片对象 my_cyh_img
 *
 * @author laowang
 * @date 2023-05-05
 */
@NoArgsConstructor
@Data
public class MyCyhImg implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(value = "${comment}", required = false)
    private String url;

    /**
     * 0关闭,1启用
     */
    @Excel(name = "0关闭,1启用")
    @ApiModelProperty(value = "0关闭,1启用", required = false)
    private String isEnable;

    @Transient
    private String planName;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private BigDecimal balance;
}
